import { IsNotEmpty } from "class-validator";

export class PhotoListDto {
  @IsNotEmpty({
    message: '页码不能为空'
  })
  pageNo: number

  @IsNotEmpty({
    message: '每页数量不能为空'
  })
  pageSize: number

  @IsNotEmpty({
    message: '图片类型不能为空'
  })
  type: number
}